<?php
/**
 * Classic pagination style
 * 
 * @preview  ‹ First  < 1 2 3 >  Last ›
 */
?>

<div class="paging">
<ul>
  <?php if ($this->first_page): ?>
    <li><a href="<?php echo $this->url(array('page' => 1)); ?>">&lsaquo;&nbsp;Frist</a></li>
  <?php endif ?>

  <?php if ($this->previous_page): ?>
    <li><a href="<?php echo $this->url(array('page' => $this->previous_page)); ?>">&lt;</a></li>
  <?php endif ?>

  <?php for ($i = 1; $i <= $this->total_pages; $i++): ?>

    <?php if ($i == $this->current_page): ?>
      <li class="active"><strong><?php echo $i ?></strong></li>
    <?php else: ?>
      <li class="active"><a href="<?php echo $this->url(array('page' => $i));?>"><strong><?php echo $i?></strong></a></li>
    <?php endif ?>

  <?php endfor ?>

  <?php if ($this->next_page): ?>
    <li><a href="<?php echo $this->url(array('page' => $this->next_page)); ?>">&gt;</a></li>
  <?php endif ?>
  <?php if ($this->last_page): ?>
    <li><a href="<?php echo $this->url(array('page' => $this->last_page)); ?>">Last&nbsp;&rsaquo;</a></li>
  <?php endif ?>
</ul>
</div>